//
//  RealCustomerCell.h
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/5/22.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomerView.h"
#import "ScroDeleteCell.h"
#import "CustomerModel.h"

@protocol RealCustomerCellDelegate <NSObject>
#pragma mark 点击了绑定楼盘按钮
-(void)realCustomerCellDidClickBingPremisesWithCustomerId:(NSString *) consumerId withConsumerCode:(NSString *)userCode;
//点击了禁用按钮
-(void)realCustomerCellDidClickForbiddenBtnWithCustomerId:(NSString *)consumerId withStauts:(NSString *)stauts;

-(void)realCustomerCellDidClickEditBtnWithCustomerModel:(CustomerModel *)model;

@end

@interface RealCustomerCell : ScroDeleteCell

@property (strong, nonatomic) CustomerView *customerView;
@property (strong, nonatomic) CustomerModel *model;
@property (weak, nonatomic) id<RealCustomerCellDelegate> btnDelegate;


-(void)cellWithTableView:(UITableView *)tableView;
+(CGFloat)getHeight;

@property (nonatomic,assign)Boolean isEditMode;
@end
